<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:if test="hasActionMessages()">
	<table width="100%" border="1" class="mainTitles_exito">
		<tr>
			<td>
				<ul>
					<s:iterator value="actionMessages">
						<li><span><s:property /></span></li>
					</s:iterator>
				</ul>
			</td>
		</tr>
	</table>
</s:if>
<s:if test="hasFieldErrors()">
	<table width="100%" border="1" class="mainTitles_error">
		<tr>
			<td>
				<ul>
					<li><span><s:text name="mensaje.errorValidacion" /></span></li>
				</ul>
			</td>
		</tr>
	</table>
</s:if>
<s:if test="hasActionErrors()">
	<s:if test="%{parameters.warning != null}">
		<table width="100%" border="1" class="mainTitles_warning">
			<tr>
				<td>
					<ul>
						<s:iterator value="actionErrors">
							<li><span><s:property /></span></li>
						</s:iterator>
					</ul>
				</td>
			</tr>
		</table>
	</s:if>
	<s:else>
		<table width="100%" border="1" class="mainTitles_error">
			<tr>
				<td>
					<ul>
						<s:iterator value="actionErrors">
							<li><span><s:property /></span></li>
						</s:iterator>
					</ul>
				</td>
			</tr>
		</table>
	</s:else>
</s:if>
<s:if test="false">
	<table width="100%" border="1" class="mainTitles_warning">
		<tr>
			<td>
				<ul>
					<li><span><s:text name="mensaje.advertencia" /></span></li>
				</ul>
			</td>
		</tr>
	</table>
</s:if>